Optimal. Leaf size=172 \[ \frac {3 e \sqrt {d+e x}}{4 (b d-a e)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {\sqrt {d+e x}}{2 (b d-a e) (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {3 e^2 (a+b x) \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{4 \sqrt {b} (b d-a e)^{5/2} \sqrt {a^2+2 a b x+b^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 172, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {660, 44, 65,
214} \begin {gather*} -\frac {3 e^2 (a+b x) \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{4 \sqrt {b} \sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)^{5/2}}+\frac {3 e \sqrt {d+e x}}{4 \sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)^2}-\frac {\sqrt {d+e x}}{2 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 65
Rule 214
Rule 660
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {d+e x} \left (a^2+2 a b x+b^2 x^2\right )^{3/2}} \, dx &=\frac {\left (b^2 \left (a b+b^2 x\right )\right ) \int \frac {1}{\left (a b+b^2 x\right )^3 \sqrt {d+e x}} \, dx}{\sqrt {a^2+2 a b x+b^2 x^2}}\\ &=-\frac {\sqrt {d+e x}}{2 (b d-a e) (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {\left (3 b e \left (a b+b^2 x\right )\right ) \int \frac {1}{\left (a b+b^2 x\right )^2 \sqrt {d+e x}} \, dx}{4 (b d-a e) \sqrt {a^2+2 a b x+b^2 x^2}}\\ &=\frac {3 e \sqrt {d+e x}}{4 (b d-a e)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {\sqrt {d+e x}}{2 (b d-a e) (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {\left (3 e^2 \left (a b+b^2 x\right )\right ) \int \frac {1}{\left (a b+b^2 x\right ) \sqrt {d+e x}} \, dx}{8 (b d-a e)^2 \sqrt {a^2+2 a b x+b^2 x^2}}\\ &=\frac {3 e \sqrt {d+e x}}{4 (b d-a e)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {\sqrt {d+e x}}{2 (b d-a e) (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {\left (3 e \left (a b+b^2 x\right )\right ) \text {Subst}\left (\int \frac {1}{a b-\frac {b^2 d}{e}+\frac {b^2 x^2}{e}} \, dx,x,\sqrt {d+e x}\right )}{4 (b d-a e)^2 \sqrt {a^2+2 a b x+b^2 x^2}}\\ &=\frac {3 e \sqrt {d+e x}}{4 (b d-a e)^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {\sqrt {d+e x}}{2 (b d-a e) (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {3 e^2 (a+b x) \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{4 \sqrt {b} (b d-a e)^{5/2} \sqrt {a^2+2 a b x+b^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.22, size = 121, normalized size = 0.70 \begin {gather*} \frac {\sqrt {b} \sqrt {-b d+a e} \sqrt {d+e x} (-2 b d+5 a e+3 b e x)+3 e^2 (a+b x)^2 \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {-b d+a e}}\right )}{4 \sqrt {b} (-b d+a e)^{5/2} (a+b x) \sqrt {(a+b x)^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.75, size = 203, normalized size = 1.18
method | result | size |
default | \(\frac {\left (3 \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right ) b^{2} e^{2} x^{2}+6 \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right ) a b \,e^{2} x +3 \sqrt {e x +d}\, \sqrt {b \left (a e -b d \right )}\, b e x +3 \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right ) a^{2} e^{2}+5 \sqrt {b \left (a e -b d \right )}\, \sqrt {e x +d}\, a e -2 \sqrt {e x +d}\, \sqrt {b \left (a e -b d \right )}\, b d \right ) \left (b x +a \right )}{4 \sqrt {b \left (a e -b d \right )}\, \left (a e -b d \right )^{2} \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}}\) | \(203\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 261 vs.
\(2 (126) = 252\).
time = 2.27, size = 536, normalized size = 3.12 \begin {gather*} \left [\frac {3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )} \sqrt {b^{2} d - a b e} e^{2} \log \left (\frac {2 \, b d + {\left (b x - a\right )} e - 2 \, \sqrt {b^{2} d - a b e} \sqrt {x e + d}}{b x + a}\right ) - 2 \, {\left (2 \, b^{3} d^{2} + {\left (3 \, a b^{2} x + 5 \, a^{2} b\right )} e^{2} - {\left (3 \, b^{3} d x + 7 \, a b^{2} d\right )} e\right )} \sqrt {x e + d}}{8 \, {\left (b^{6} d^{3} x^{2} + 2 \, a b^{5} d^{3} x + a^{2} b^{4} d^{3} - {\left (a^{3} b^{3} x^{2} + 2 \, a^{4} b^{2} x + a^{5} b\right )} e^{3} + 3 \, {\left (a^{2} b^{4} d x^{2} + 2 \, a^{3} b^{3} d x + a^{4} b^{2} d\right )} e^{2} - 3 \, {\left (a b^{5} d^{2} x^{2} + 2 \, a^{2} b^{4} d^{2} x + a^{3} b^{3} d^{2}\right )} e\right )}}, \frac {3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )} \sqrt {-b^{2} d + a b e} \arctan \left (\frac {\sqrt {-b^{2} d + a b e} \sqrt {x e + d}}{b x e + b d}\right ) e^{2} - {\left (2 \, b^{3} d^{2} + {\left (3 \, a b^{2} x + 5 \, a^{2} b\right )} e^{2} - {\left (3 \, b^{3} d x + 7 \, a b^{2} d\right )} e\right )} \sqrt {x e + d}}{4 \, {\left (b^{6} d^{3} x^{2} + 2 \, a b^{5} d^{3} x + a^{2} b^{4} d^{3} - {\left (a^{3} b^{3} x^{2} + 2 \, a^{4} b^{2} x + a^{5} b\right )} e^{3} + 3 \, {\left (a^{2} b^{4} d x^{2} + 2 \, a^{3} b^{3} d x + a^{4} b^{2} d\right )} e^{2} - 3 \, {\left (a b^{5} d^{2} x^{2} + 2 \, a^{2} b^{4} d^{2} x + a^{3} b^{3} d^{2}\right )} e\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {d + e x} \left (\left (a + b x\right )^{2}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.79, size = 188, normalized size = 1.09 \begin {gather*} \frac {3 \, \arctan \left (\frac {\sqrt {x e + d} b}{\sqrt {-b^{2} d + a b e}}\right ) e^{2}}{4 \, {\left (b^{2} d^{2} \mathrm {sgn}\left (b x + a\right ) - 2 \, a b d e \mathrm {sgn}\left (b x + a\right ) + a^{2} e^{2} \mathrm {sgn}\left (b x + a\right )\right )} \sqrt {-b^{2} d + a b e}} + \frac {3 \, {\left (x e + d\right )}^{\frac {3}{2}} b e^{2} - 5 \, \sqrt {x e + d} b d e^{2} + 5 \, \sqrt {x e + d} a e^{3}}{4 \, {\left (b^{2} d^{2} \mathrm {sgn}\left (b x + a\right ) - 2 \, a b d e \mathrm {sgn}\left (b x + a\right ) + a^{2} e^{2} \mathrm {sgn}\left (b x + a\right )\right )} {\left ({\left (x e + d\right )} b - b d + a e\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{\sqrt {d+e\,x}\,{\left (a^2+2\,a\,b\,x+b^2\,x^2\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________